import request from '@/utils/request'

export const getAreaList = data => request.get('parking/area/list', { params: data })
export const getAreaSimpleList = () => request.get('/parking/area/dropList')
export const addAreaItem = data => request.post('parking/area', data)
export const getAreaItem = id => request.get(`parking/area/${ id }`)
export const editAreaItem = data => request.put('parking/area', data)
export const delAreaItem = id => request.delete(`/parking/area/${ id }`)
